//
//  JSTFileCache.h
//  JSTMobClick
//
//  Created by 01 on 16/9/22.
//  Copyright © 2016年 Czj. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kCacheAgeDefault      (60. * 60. * 24.)  //a day

@interface JSTFileCache : NSObject
{
    dispatch_queue_t          _ioQueue;
}

+ (JSTFileCache *) defaultCache;

@property (nonatomic, strong) NSString                  *cachePath;

@property (nonatomic, strong) NSMutableDictionary       *cacheDict;

- (void)clearDisk;  //清空缓存
- (void)cleanDisk;  //清除过期的缓存

@end
